package cn.yqn;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @BelongsProject: itsource-ymcc
 * @BelongsPackage: cn.itsource
 * @Author: Director
 * @CreateTime: 2022-08-03  16:56
 * @Description: 系统管理中心启动类
 * @Version: 1.0
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class})
// 注册到Nacos
@EnableDiscoveryClient
@MapperScan("cn.yqn.*Mapper")
public class UaaApp {

    public static void main(String[] args) {
        SpringApplication.run(UaaApp.class, args);
    }

}